import Layout from '@/layout'

const registeredService = {
  path: '/registeredService',
  component: Layout,
  redirect: '/registeredService',
  name: 'registeredService',
  meta: {
    title: '挂号服务',
    icon: 'tree-table',
    noCache: true,
    roles: ['myClinic']
  },
  children: [

    {
      path: '/registered',
      component: () => import('@/views/registeredService/registered'),
      name: '预约挂号',
      meta: { icon: 'edit', title: '预约挂号', roles: ['clinic:info'] }
    },
    {
      path: '/schedules',
      component: () => import('@/views/registeredService/schedules'),
      name: '挂号列表',
      meta: { icon: 'edit', title: '挂号列表', roles: ['clinic:info'] }
    }
  ]
}

export default registeredService
